{% extends "base.html" %}
{% load tags %}
{% block title %}Firmos projektų ataskaita{% endblock %}
{% block content %}
<h1 class="headerText">Neįvykę firmos projektai</h1>
<table class="sortable reportTable thickHeader" >
  <thead>
    <tr>
      <th sort_index="0">Projekto kodas</th>
      <th sort_index="1">Projekto pavadinimas</th>
    </tr>
  </thead>
  <tbody>
    {% for p in project %}
    <tr class="{{ forloop.counter|oddOrEven }}">
      <td>{% if p.manager %}<a href="/project/manager/{{ p.projectId }}">{{ p.projectId }}</a>{% else %}{{ p.projectId }}{% endif %}</td>
      <td class="left">{% if p.manager %}<a href="/project/manager/{{ p.projectId }}">{{ p.project }}</a>{% else %}{{ p.project }}{% endif %}</td> 
    </tr> 
    {% endfor %}
  </tbody>
</table>
{% endblock %}
